﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using UofCASE.AgileProductLinerDSL.Nant.Tasks.Models;

namespace APLDTests.NantTests.Mocks
{
    public class DummyTest : ITest
    {
        public DummyTest(bool passed)
        {
            Passed = passed;
        }

        public bool Passed
        {
            get;
            private set;
        }

        public bool Failed
        {
            get { return !Passed; }
        }

        public ITestKey Key
        {
            get { return new SameObjectKey(this); }
        }

        public void Run()
        {
            
        }


        public AspenFSProxy Owner
        {
            get; set;
        }
    }
}
